package com.hckjsec.system.domain;

import com.hckjsec.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 邮政编码对象 sys_postalcode
 * 
 * @author cyt
 * @date 2021-09-23
 */
public class SysPostalcode implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String codeName;

    /** 别名 */
    @Excel(name = "别名")
    private String aliasName;

    /** 类型 */
    @Excel(name = "类型")
    private String codeType;

    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;

    /** 市编码 */
    @Excel(name = "市编码")
    private String cityCode;

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setCodeName(String codeName)
    {
        this.codeName = codeName;
    }

    public String getCodeName()
    {
        return codeName;
    }
    public void setAliasName(String aliasName)
    {
        this.aliasName = aliasName;
    }

    public String getAliasName()
    {
        return aliasName;
    }
    public void setCodeType(String codeType)
    {
        this.codeType = codeType;
    }

    public String getCodeType()
    {
        return codeType;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("code", getCode())
                .append("codeName", getCodeName())
                .append("aliasName", getAliasName())
                .append("codeType", getCodeType())
                .append("provinceCode", getProvinceCode())
                .append("cityCode", getCityCode())
                .toString();
    }
}
